package com.ny.service;

import com.ny.entity.Order;

import java.sql.SQLException;
import java.util.List;

public interface OrderService {
    int insertOrder(Order order) throws Exception;
    List<Order> getAllOrders() throws Exception;
    Order getOrderById(int id) throws Exception;
    int deleteOrder(int id) throws Exception;


}

